package com.example.demo.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.MenuEntity;
import com.example.demo.entity.OperationLogEntity;
import com.example.demo.exception.BizException;

/**
 * 菜单服务接口
 * @author Administrator
 *
 */
public interface IMenuService extends IService<MenuEntity> {
    
	/**
	 * 获取菜单
	 * @param whereMap
	 * @return
	 */
	List<Map<String,Object>> queryMenuList(Map<String,Object> whereMap) throws BizException;
	
	/**
	 * 添加菜单
	 * @param menuEntity 菜单对象
	 * @param operationLogEntity 操作记录
	 * @return
	 * @throws BizException
	 */
	String AddNewMenu(MenuEntity menuEntity, OperationLogEntity operationLogEntity) throws BizException;
	
}
